package com.finley.flowabledemo.design.responsibility.process;


/**
 * @description:
 * @author: xianfei.chao
 * @date 2025/6/1 11:04
 * @version: 1.0
 */
public abstract class IProcessHandler {

    protected IProcessHandler nextHandler;

    protected String name;

    public void setNextHandler(IProcessHandler nextHandler) {
        this.nextHandler = nextHandler;
    }

    public IProcessHandler(String name) {
        this.name = name;
    }

    abstract String process(Process process);

}
